/*
 * Created on 25/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalleIni;
import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaLogDetalleIniBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.CargaLogDetalleIniDAO;

/**
 * @author abarrios
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class CargaLogDetalleIniBOImpl implements CargaLogDetalleIniBO {
	CargaLogDetalleIniDAO cargaLogDetalleIniDAO;
	
	/**
	 * @param cargaLogDetalleDAO
	 */
	public CargaLogDetalleIniBOImpl(CargaLogDetalleIniDAO cargaLogDetalleIniDAO) {
		super();
		this.cargaLogDetalleIniDAO = cargaLogDetalleIniDAO;
	}
	
	
	/**
	 * @return Returns the cargaLogDetalleDAO.
	 */
	public CargaLogDetalleIniDAO getCargaLogDetalleIniDAO() {
		return cargaLogDetalleIniDAO;
	}
	/**
	 * @param cargaLogDetalleDAO The cargaLogDetalleDAO to set.
	 */
	public void setCargaLogDetalleIniDAO(CargaLogDetalleIniDAO cargaLogDetalleIniDAO) {
		this.cargaLogDetalleIniDAO = cargaLogDetalleIniDAO;
	}
	
	
	/**
	 * @param key
	 * @return
	 */
	public int deleteByPrimaryKey(CargaLogDetalleIni key) {
		return cargaLogDetalleIniDAO.deleteByPrimaryKey(key);
	}
	/**
	 * @param record
	 */
	public void insert(CargaLogDetalleIni record) {
		cargaLogDetalleIniDAO.insert(record);
	}
	/**
	 * @param record
	 */
	public void insertSelective(CargaLogDetalleIni record) {
		cargaLogDetalleIniDAO.insertSelective(record);
	}
	/**
	 * @param key
	 * @return
	 */
	public CargaLogDetalleIni selectByPrimaryKey(CargaLogDetalleIni key) {
		return cargaLogDetalleIniDAO.selectByPrimaryKey(key);
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return cargaLogDetalleIniDAO.toString();
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKey(CargaLogDetalleIni record) {
		return cargaLogDetalleIniDAO.updateByPrimaryKey(record);
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKeySelective(CargaLogDetalleIni record) {
		return cargaLogDetalleIniDAO.updateByPrimaryKeySelective(record);
	}


	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.iface.CargaLogDetalleBO#selectByCriteria(com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalleKey)
	 */
	public List selectByCriteria(CargaLogDetalleIni record) {
		// TODO Auto-generated method stub
		return cargaLogDetalleIniDAO.selectByCriteria(record);
	}
}
